package lab02.test11;

/**
 * Created by 123 on 2017/10/17.
 */
public class Test11 {
    public static void main(String[] args) {
        Rectangle one = new Rectangle();
        one.width = 1;
        one.length = 2;
        one.printMyWay();

        Square two = new Square();
        two.length = 2;
        two.printMyWay();

    }
}
